<template>
  <div class="canvas-wrapper" ref="d3">
    
  </div>
</template>

<style >
.canvas-wrapper{
  width: 100%;  
  height: 100%;
  position: relative;
}
.canvas-wrapper canvas{
    width: 100%;
    height: 100%;
  }
</style>
<script setup lang="ts">
import { onMounted,ref, type Ref } from 'vue';
import { initPhy } from './components/phy';
const d3:Ref<HTMLElement> = ref(null);
onMounted(()=>{
  initPhy(d3.value);
})
</script>
